﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace RetailManagement.Models
{
    public class CustomerDB
    {
        public string CutomerID { get; set; }

        [Required]
        [Display(Name = "Full Name")]
        public string Customer_FullName { get; set; }

        [Required]
        [Display(Name = "Birth day")]
        public DateTime Birthday { get; set; }

        [Required]
        [Display(Name = "Gender")]
        public bool? Gender { get; set; }

        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [Display(Name = "Password")]
        public string Password { get; set; }

        [Required]
        [Display(Name = "Phone")]
        public string Phone { get; set; }

        [Required]
        [Display(Name = "Address")]
        public string Address { get; set; }
    }

    public class Logon
    {
        [Required]
        [Display(Name = "Email")]
        public string Email { get; set; }

        [Required]
        [DataType(DataType.Password)]
        [Display(Name = "Password")]
        public string Password { get; set; }
    }
}